Behavioral changes are easily attributable to external influences such as temperature, light exposure, and chemical stimuli. However, the effects of internal states such as infection status, stress, and hunger on animal behavior are often less obvious. We sought to determine how an internal state modifies animal behavior and define the pathways necessary to encode the behavioral change. Sensory integration is a conserved behavior in which an animal, or population of animals, must integrate attractive and repulsive signals simultaneously to decide whether to approach or avoid a cue. We conducted sensory integration assays in which populations of C. elegans are presented with an attractant, diacetyl, just beyond a repellant copper barrier. We show that acute food deprivation reversibly reduces copper sensitivity, allowing animals to engage in a "risky behavior": starved animals cross the toxic copper barrier to reach the attractant ~4 times more often than well-fed animals. Our results suggest that decreased copper sensitivity in food-deprived animals requires the transcription factors MondoA and HLH-30 within intestinal cells, which likely detect and respond to the lack of food. Others have shown HLH-30 translocation to intestinal nuclei is correlated with the expression of a few insulin-like peptides, many of which we show are required for the hunger-induced behavioral change. The insulin receptor DAF-2 is required to sense and respond to these insulin-like peptides. We demonstrate that expression of
daf-2 and downstream non-canonical insulin signaling molecules in the ASI chemosensory neurons sufficiently rescues this food deprivation-induced risk-taking behavior. Our work suggests that the internal state of hunger or food sensation links animal behavior to intestinal metabolism and neuronal function.