Well that's a part of the problem , but that won't fix it. The only way to really stop the flow of illegals is to improve the economies and living conditions and end corrupt military, legal systems and governments where they are fleeing from. And smash the drug cartels with military force for the terrorist organizations that they are. Only then will they want to remain where they are. In fact if that could be accomplished I think we would hear a giant sucking sound coming from the border as millions returned to their origami homes.
Even though they have a better life in the USA, few of them truly acclimate to America and still consider themselves Mexicans, Columbians, Brazilians, Peruvians, Guatemalans , or wherever they fled from .
That's my opinion after living for 40 yrs within 120 miles of the border. From living and working in a region that has changed , for the worse, before my eyes from the affects of illegal immigration.