Is it illegal for a citizen of India to come to America on a marriage visa with the intention of marrying a U.S. citizen if he is under 21 years of age?

No, not as long as he's 18

The states determine legal age of consent of marriage. Not US law