I don’t have a better solution, but I also don’t really think it’s a big problem to begin with. The vast, vast majority of suicidal people still won’t take hundreds of others with them. They jump off buildings or shoot themselves or swallow a fistful of pills.
If I was a pilot, you bet your ass I’m going to hide any mental struggles I’m having from the FAA.
Now, I suppose if I had persistent and intrusive thoughts of darting my plane into a mountainside, I’d hopefully—during a moment of clarity—remove myself from any position that would enable me to carry that out.
But for “run-of-the-mill” depression? That’s my business. I can still perform the job.
How many pilots have intentionally crashed their planes for mental health reasons? The only one that comes to mind is that Germanwings pilot a few years ago. (EDIT: Apologies if the article answers this. I can’t see behind the paywall)