Under Federalism it would be New Mexico’s problem.
Don't we operate under a degree of federalism, on a sliding scale?
The federal gubmint forbids the individual states from enforcing federal immigration law.
Under a Confederation individual states could have more power to regulate immigration.
Asking since I am not well versed.