Well, prison is basically a wall and some armed guards.
Which isn't to say a border wall is bad, but technically, just a wall is not sufficient on the border. We also need border patrol agents.
Sounds so simple, but you'd be surprised at how many people will argue..