This question already has an answer here:
I was sitting one day when someone called to to come and be the tenth person. I quickly ran to be the tenth and upon arrival I counted 11 people so I asked someone why they rushed me. And they said that the person over there has a type of mental illness (it's not down syndrome but it's some form of mental disability). So I wanted to know is this person really not halachicly allowed to help make a minyan?