Which of the following are nuts: pecan, hazelnut, butternut squash, walnut, peanut, corn nut, macadamia nut.
The following are nuts: pecan, hazelnut, walnut, peanut, macadamia nut. 

The following are not nuts: butternut squash, corn nut.