Doodledog
What is it about the 'azole' drugs that is worrying?
I have been taking Carbimazole for years (for Graves Disease), and whereas the list of possible side-effects is long, there is nothing about impaired cognitive function that I have seen.
I can't pretend to be an expert on "azole" drugs, nor to know everything about side effects.
However, I do know of one side effect.
I was prescribed Ticagrelor and Aspirin after a heart attack, as a preventative measure. However, both can cause gastric problems, so I was prescribed Lansoprazole to protect my stomach. This is normal practice.
Unfortunately, Lansoprazole can interfere with absorption of Vitamin B12, as can Metformin, which I also take for diabetes. I had a number of symptoms of Vit B12 deficiency, but my blood plasma results were satisfactory. My dietary intake of Vit B12 is OK, so deficiency was dismissed by my GP. Fortunately, a new GP was better informed and explained that although I had enough Vitamin B12 in my blood, it probably wasn't being absorbed, which was almost certainly caused by Lansoprazole and Metformin. She took a gamble and started a course of Vitamin B12 injections, which have been a game-changer for me.
Maybe the "azole" drugs (PPIs) interfere with the absorption of other vitamins and minerals.