Where you have to have a concern is about ENFORCEMENT. Because the laws applied equally to a white Canadian sneaking across the border as they do to a Mexican sneaking across the border, but one is more likely to receive enforcement action than the other.
But it's important to understand the distinction between enforcement and legislation. Both should be addressed, but it's silly to throw the baby out with the bathwater and fail to understand the mechanism of action.
Yes, immigration law - both application and enforcement - tends to correlate highly with nationality. I'd wager speeding tickets also correlate with drivers.
What should it correlate with?
That is, if 10 Canadians and 10 Mexicans crossed into the US illegally, and all faced similar consequences, I think that’s fine. If there are only 1 Canadian and 10 Mexican violators and this causes limited border patrols to be distributed proportionally between the US-Canada and US-Mexico border, I think that’s still fine. But if 10 violating Canadians and 10 violating Mexicans who were all apprehended faced different consequences, that would not be fair.