Full Idea
The boundaries of logic are determined quite precisely by the fact that logic is the science that exhaustively presents and strictly proves nothing but the formal rules of all thinking.
Gist of Idea
Logic has precise boundaries, and is the formal rules for all thinking
Source
Immanuel Kant (Critique of Pure Reason [1781], B Pref ix)
Book Reference
Kant,Immanuel: 'Critique of Pure Reason', ed/tr. Guyer,P /Wood,A W [CUO 1998], p.106
A Reaction
Presumably it does not give the rules for ridiculous thinking, so more will be required. The interesting bit is the universality of the claim.