Unfortunately there isn't one, they're pronounced the same. You just have to figure out whether it's il or ils from the context of the sentence, although in Duolingo there is no context either, it's just a guess.
I will never learn all these crazy wheat, grain whatever. This is my second try at these sentences... :( why not just eat bread and pasta and cake? who eats grain and wheat after all? just plain silly :(