but this is not an incorrect use of “racism”.
Israeli Citizenship is determined solely by religion. The only reason that a Palestinian can't be an Israeli citizen is they haven't converted to Judaism. That's religious discrimination.
Otherwise you'd also have to classify the Protestant vs Catholic wars in Europe as racist too.