Friedrich Nietzsche said this quote

There is always some madness in love. But there is also always some reason in madness.