Also, I used to have Chronic Fatigue Syndrome and a lot of brainfog with it. I think that it may have been partially due to a bad diet affecting my thyroid (even though my thyroid tests kept coming back "normal."
If you think that you might have a thyroid issue, you may want to supplement with Iodine and sea vegetables.