The real issue isn’t that the card would have a way to cast it there’s in game ways around that with stuff like cascade.
So assuming you have a way to cast a card with no mana value whatever card would go on the stack and do nothing then just enter your graveyard, probably. That being said I’m no judge.