According to the NHL rule 78.5, this is why Andrew Shaw was not awarded the game-winning goal. According to the NHL Rules, the puck has to be shot in with a stick.
NHL situation room confirms Andrew Shaw's goal disallowed because he directed it in with something (his head) other than stick. #Blackhawks
— Chris Kuc (@ChrisKuc) May 20, 2015