I think in this situation, you have to answer truthfully.
If you didn't, and they found out, that would give them grounds for dismissal. They're not allowed to discriminate on the grounds of mental health, and a lot of places are realising that actually people with mental health difficulties aren't actually that different to 'normal' (I hate that word) people.