Electronic will be part of the solution for sure.
There isn’t any one thing that’s going to solve the problem, it will take a combination of physical barriers, electronic monitoring/surveillance, more personnel, and rapid response capability.
The argument that “Walls Don’t Work” is simply a lie or we wouldn’t put them around most everything else we want to secure from schools to prisons to the WH itself.
Israel’s border wall with Egypt dropped their illegal crossings by 99% in the first year.
The walls they’ve put up around the areas claimed and occupied by the “Palestinians” reduced terrorist attacks by over 90% the first year and by about 99% overall.
We know they work which is why democrats oppose them.