1. If the pilot hides his mental illness, a mentally ill person is flying the airplane.
2. If the pilot gets treatment for his mental illness, a mentally ill person is flying the plane.
P.S. When I was a teenager, I tried to join the Air Force to be a pilot like my dad. But since I wear glasses, there was no way. The AF was perfectly justified in not taking me, I understood that. I empathize with the rejected pilots, but that's the way it has to be. Life isn't fair. So I chose another career.