Hell, even Morroco has buile a 1650 mile fence.
Some of it is only a berm - but that portion is heavily mined because it is sparsely manned.
It appears to work.
I think we should mine our entire border. It would stop the invaders!
Of course it works. The anti-fence/wall people who continually tell you it won't work, do so because they know it will.