That's a vague area within the system and it's hardly unique to the Magic Missile spell. Plenty of spells (e.g Hold Person) require a creature as a valid target, so when a player targets an illusion, the DM must decide how to adjudicate the result by considering the following questions:
Does...