Not all anti allergic will make you drowsy. And obviously neither any cause brain fog.
Cetirizine, promethazine, pheniramine etc. may or may not cause that side effect.
Fexofenadine, Desloratadine etc. are invented to minimize side effects like drowsiness.
Next Steps
consult with detailed medicine history for second opinion.