I had the same question, have all these meds made me stupid? Have I lost ground being sick for so long? So I went to a friend who happened to be a neuropsychologist and asked her to give me a basic IQ test. (I couldn't afford the whole neuropsych thing.) She chose one I was familiar with and gave it. After I left for work, she was so anxious to see the score, she sat in her office and scored it right away.
She called me at work and said it was official. I am not stupid. I am actually in the same percentile that I was in when I was tested in high school. It was such a relief to know that all the drugs I'd been on, all the months spent in the hospital, had had no effect on my basic IQ.
May you feel the same relief!