Not directly
The background check consists of a criminal reference check, and then a character reference check of two references. So it may come up during the character references, however that does not mean it will work against you.
OCD is a vary vague condition that has many forms, most of which are not interpreted as risks to public safety