That “feeling of knowing” something is an interesting human metal function: How do we know what is right or when something is true. It turns out that this actually is something you can measure and point to in the brain.
Google: neurological “sense of knowing”
You will get some very interesting hits on this - for example this one: