The county I live in (Northern California) requires that household food waste go into the curbside compost bin, or home compost. They do random checks to make sure you haven’t put any food in the landfill bin and you can get a fine.
It gets turned into compost for landscaping, along with the yard waste, not food though.