MMC 719 question

Hello everyone I know you get those questions a lot but I wanted to get a merchant mariner credential and wanted to explore new career opportunities; however, I used to be in the army and was released after being diagnosed with suicidal ideation, depression, and adjustment disorder. I never needed any medication and was never prescribed anything, honorable discharged also.

If I do the physical and mention it what would happen, and If I don’t mention it what are the instances where they would look into my medical records

Edit: I was able to get my Twicc also