An friend of mine has bipolar too, when his meds are off he goes into extreme hallucinations and cant sleep for months.
If treatments with parasitic drugs dont help you, you probably dont have them. parasites dont just go crawl in you head without causing serious neurological damage comparable to brain tumors. Worms are not some incurable condition, actually its one of the few conditions that is actually curable and very easy.
The mind can make you go crazy, trust me Ive been there.
And all the people here selling zappers, herbs, horse meds and books are laughing all the way to the bank.
If you find worms in your stool get treatment and if it doesnt make you feel better in a few days, try eating more and healthier and work out, then parasites are not your issue. Malnutrition is.