A hunch was a thought or feeling that came into one's mind with no rational background.
In 2268, according to Doctor Leonard McCoy, he and the crew had lost Captain James T. Kirk and the others on Gamma II, and he started to blame Spock for dragging them a dozen light years on a wild hunch. (TOS: "The Gamesters of Triskelion")