Hello and welcome to Psych Central!
I take Tegretol for bipolar AND for facial nerve pain. And, yes, I have some brain fog--memory issues, really. It's distressing, but I'm 64, so it might be caused some by age. I am still able to think well, overall. For example, I'm writing a book and do well on some word games here. I just need to write things down more and repeat things over and over to keep them in my memory.
All that said, I have been over seven years without a bipolar episode, longer than with any other mood stabilizer.
So, I've accepted this memory issue. I can certainly understand your frustration, though.
I've never taken Latuda. But I take Cymbalta, which might be similar.
Good to have you here. Again, welcome.