Nearly half of the workforce of crop farmworkers in the US is made up of "illegal" immigrants. The US food-supply relying on those people has meant that, in practice, immigration law enforcement is deliberately selective and self-serving.
So, the idea of illegal immigration as a vice worth cracking down on and punishing has not been consistently applied by the people publicly condemning it (like this current administration), meaning there is a very real sense in which the distinction between illegal and legal immigration is not real.