Mental disorder could refer to a range of issues, not just insanity or madness. Depression, OCD or schizophrenia could also be called, 'mental disorders'.
Mad can also refer to an emotion, similar to being angry (as well as meaning insane). You can be mad, but not insane or crazy.
If you have any questions please ask.