Actually let's do a little thought experiment that treats that proposed United States / Mexican border wall as a massively upscale of the Berlin Wall.
The Berlin Wall was 87 miles long and built as an ungoing project built in stages over a period of nearly 20 years but the "final" version could be described thusly:
(From Wiki)
So that pricetag of 3,600,000 US Dollars for 87 miles of high security border fencing gives us a cost of about 41,000 dollars a mile. That would make our hypothetical border fence somewhere in the neighborhood of over 8 billion dollars in 1975 money. That would be about 36 billion in 2017 dollars or about 3 and a half nuclear powered aircraft carriers.
Even pushing all the political, legal, moral, and other concerns out of the way if our intent is to secure the border a fraction of that dropped into hiring new, training, equipping border patrol seems like it would give us a massively better return on investment.
A tiny fraction of the cost of a wall could give us a massively well staffed, well armed, well trained border patrol.
There's also two issues East Germany never had to worry about, people coming in by sea and heavy legal traffic though border crossings, the latter being where most illegals cross ATM anyway.