"Nuts" is a casual way to say "crazy". As an example of how to use "nuts", if your friend is going to do something risky you might say:
When a friend or coworker says something that's surprising, you can respond, "That's nuts."
A: We hiked 45 miles in two days.
B: Whoa, that's nuts! Really?