sagacity

noun

1.
the mental ability to understand and discriminate between relations
Derived from:
sagacious
2.
the trait of forming opinions by distinguishing and evaluating