A male subject was masturbating on the platform at the Bay Fair Station. It was determined that the subject was in need of a mental health evaluation. The subject was placed on a psychiatric detention. The subject was transported to a local hospital. Upon being medically cleared the subject will be issued a Prohibition Order and booked at the County Jail for performing a lewd act in public and a parole violation.