I might be wrong, but I don’t think he ever got properly diagnosed?
He talked about it during Community, saying when he heard people talking about Abed possibly having autism he started looking up the symptoms and took some online tests which suggested he was somewhere on the spectrum.