Mexicans are not flouting international law. The law requires that such people be admitted and considered for citizenship. And that's a very wise law that gives those trapped people a chance.
Latin America was not created as a land of poverty and misery. That part was done by over a century of American (and Canadian) capitalists who abused and impoverished those people. It was done by Americans who illegally imposed trade sanctions on nations that tried to control their own affairs. It was done by over a hundred years of American abuse, invasion, murder, exploitation and plundering.
Yes, 1, 500,000 was a lot of border crossers. And you see that as an abuse by Mexicans. The fact that those people were crossing is, in fact, of the scale of abuse the U.S. had inflicted on their countries.
You want a sample of really vicious border crossings? Ask our aboriginal peoples about it.
In the 1840s, Americans crossed the Mexican border illegally, and bringing their slaves into a Mexico that prohibited slavery. The Americans stole land all the way from Florida to California and up the Pacific coast. That's why cities there have names like Los Angeles and San Fancisco. When Mexicans objected to these intrusions, the U.S. went to war and stole almost half of Mexico.