You can't tax them. Three states have proposed that (Georgia passed them). You then legitimize illegal immigration forever and governments have an incentive NOT to secure the border.
This is not an income tax.