A secure border wall would probably slow the flood and would provide jobs & the resulting tax income and economic stimulus in a New Deal sort of way.
The best solution would be for our two economies to be more equal, so they wouldn't have the motivation to come.