In french "fou" = insane = mad. It's the same thing.
---
in English it means that same thing. Mad has 2 meanings. insane and angry.

I'm getting mad at you dammit! <--- anger.

He must be mad! <---- insane.