Are people with mental issues aware of their mental issues?

i came across a few people online, and its obvious to me they suffer from some cognitive issues. they write nonsensical mush and they think they're geniuses. now i'm not sure if they are just stupid, or if they have mental issues that give them cognitive issues making them unaware of their own stupidity/insanity.
Are people with mental issues aware of their mental issues?
Post Opinion