This funny phrase: 'method to my madness' means that there is often a reason behind someone's mysterious behavior.
Example of use: "At the start of his presentation, it seemed that he's out of his mind, but when he finished, we saw that there’s method in his madness."
This phrase is based on a line from Shakespeare 's Hamlet, written in the year 1602.