No,
because it doesn't even fit the definition of racism. https://en.wikipedia.org/wiki/Racism
Illegal immigrants are of absolutely all sorts, so there is no single human trait that is uniquely only found in illegal migrants. Also, people don't oppose illegal migrants, they oppose illegal migration as a general thing. Illegal migrants are not the problem, they are simply the cause, and people hate the problems that arise in a society after to much illegal migration.
People need to stop calling everyone they disagree with racists, its so watered down that it completely lost any meaning and weight behind it. Didn't get up to a granny on the bus? Racist. Driving a white car? Racist. Using an iPhone? Racist.
There is a version of illegal migration that I would support and truly leave an open door for everyone: You must adopt the culture, you must learn the language, you must find a job, you won't get any welfare or housing and you can't ask for anything in our society to be "like it was at your home". And voila! Everyone welcome.