That would depend on the sample size. Suppose Joe is a farmer in France in the year 1200, and he is an absolutely fervent and devout Christian, and his pastor is very racist, and his pastor has repeatedly stated that black people (who Joe has never met any of and never expects to meet any of) are subhuman.
Then by chance Joe has a brief interaction with a black traveller, and Joe, who even more than his belief that blacks are subhuman really really believes in The Golden Rule, treats this individual with politeness and respect. And at the end of it, Joe’s belief is “well, blacks are obviously subhuman, because my pastor said so and that’s the word of God. But that one guy I met must have been an exception, because he was very nice and seemed intelligent”.
Is Joe racist? I’d say definitely yes, even though no action he ever took in his entire life (during which he never encountered another black person) could meaningfully be called racist.
I think there are two things we can definitely agree make someone racist:
(1) treating someone more poorly due to their race
(2) believing that knowing someone’s race allows you to judge their value as a human being
To me the debatable sticky point (and I freely admit that these are generally NOT the types of positions one actually encounteres “in the wild” very often, but hey, if we can’t debate crazy hypotheticals what’s the point of debating?) are positions like:
(3) believing, and believing that there is objective evidence for this belief, that there are differences in the average characteristics of people in different races, without necessarily making that a value judgment
and its stronger cousin
(4) believing, and believing that there is objective evidence for this belief, that there are GENETIC differences in the average characteristics of people in different races, without necessarily making that a value judgment
An example of 3 or 4 would be someone who notices that the NBA is dominated by black people, and believes that black people are better than white people, ON AVERAGE, at basketball. (“On average” could be shorthand here for “is more likely to produce people at the extreme end of the bell curve”, it doesn’t necessarily have to mean taking every black guy and assigning them a basketball skills score and doing the same for every white guy, and averaging those numbers.)
And I think many people would be generally accepting of that belief, regardless of whether it’s a type 3 or a type 4 belief. The problem is, there’s really no difference between that and “white people are better than black people, ON AVERAGE, at xxx”, where xxx is just about any human endeavor. If it’s NOT racist to say that blacks are better than whites at basketball, then is not also NOT racist to say that whites are better than blacks at, say, calculus? Why or why not? What’s the difference? Is it only racist if it involves mental as opposed to physical pursuits? Is it only racist if it’s the dominant majority being judged as better at whatever the skill is? Is it only racist if the belief is that it’s genetic and inborn, not cultural?
I don’t have a good definition here, but I think that it’s facile to simply say that any sentence which begins “black people are…” is automatically racist. (Although it’s overwhelmingly likely that anyone who spends a lot of time MAKING such statements, no matter how hedged around by disclaimers, is racist.)