And in general, IQ goes up as nutrition goes up (to a point). It's hard to be smart if you're calorie-reduced.
That said, is IQ important? To an extent, yes. In general a higher IQ means someone can hold more things in their head, which means they can handle more complexity.
Is it important? It depends. I would rather have a high-IQ doctor than a low-IQ doctor, for sure. I would rather have a high-IQ network engineer than a low-IQ network engineer.