Excluding shit like schizophrenia or dementia where your brain actually is fucked up the definitions of most mental illnesses boil down to having thought and behavior patterns that make it hard to function and conform in the real world. Some governments abuse the obvious flexibility there to repress political dissent, and others use it (or allow it to be used) to make billions of dollars selling pills to losers.