Close the border. Period. Completely.
That still won’t stop the illegals. That will only stop when U.S. law stops incentivizing illegal immigration.