Short answer yes with an if. The long answer is no with a but.
I'd say it's racist if someone is complaining about illegal immigrants alongside a general contempt of 'foreigners' and not paying attention to the details of why it's illegal for them to migrate the way they did and what options are available for legal migration.
It's not racist to be opposed to those who are in violation of the law, as that is not a racial or ethnic classification. But it is important to be inquisitive as to why the law is the way that it is, and be willing to consider the possibility that just because something is against the law does not mean that it should be. Law has long been used as a tool of systemic oppression and racism, as well as many other horrific abuses inflicted on people.
Short answer yes with an if. The long answer is no with a but.
I'd say it's racist if someone is complaining about illegal immigrants alongside a general contempt of 'foreigners' and not paying attention to the details of why it's illegal for them to migrate the way they did and what options are available for legal migration.
It's not racist to be opposed to those who are in violation of the law, as that is not a racial or ethnic classification. But it is important to be inquisitive as to why the law is the way that it is, and be willing to consider the possibility that just because something is against the law does not mean that it should be. Law has long been used as a tool of systemic oppression and racism, as well as many other horrific abuses inflicted on people.