One of key characteristics of a legitimate government is that it actually has controls over its own geographic space and borders. A government that can’t do that risks being a failed state. It is a key competency. Failure there indicates a deeper illness in the system that must be remedied. Those who won’t remedy a problem of this sort are unwilling to govern.
The answer is to get on top of the problem and THEN to legislate a way to deal with the ongoing issue. So, CONTROL the border and THEN find a way to address the desire for immigration.
There is nothing wrong with immigration or immigrants. It is obvious America is a nation of immigrants. However, the right immigration is legal immigration. And once we have restored control of the borders, we can deal generously with those who want to immigrate.