Eisenhower knew how to handle illegal immigration.
He detained the illegals until he had a shipload. Then he’d ship them to the southernmost port of Mexico.
This made it economically impossible for illegals to make repeated border crossing attempts.
The furthest point south of the border for South American ones.
Back to country of origin for African/Chinese/whatever for the rest.