Do you know what logic is? It is logical not to eat poison. You can't touch logic or explain it. It is a metaphysical idea. Just like God.Logic is given to us by God.
From the perspective of an atheist. The mind and our thoughts are primordial juice, an uncontrollable chemical reaction. No free will.
But no, we instinctively know logic.