“Though this be madness, yet there is method in’t.”
William Shakespeare wrote this in Hamlet. It appears in Act II, Scene 2.
Where it appears
Polonius Aside. Though this be madness, yet there is method in’t. Will you walk out of the air, my lord?
From the public-domain edition, read it free.