The creature is aware of creatures within 5 miles of it that have an Intelligence score of 4 or higher. It knows the distance and direction to each creature, as well as each one's Intelligence score, but can't sense anything else about it.
A creature protected by a mind blank spell, a nondetection spell, or similar magic can't be perceived in this manner.