Destroy target creature or planeswalker that's green or white. You gain 1 life.
If the target creature or planeswalker is an illegal target by the time Noxious Grasp tries to resolve, the spell doesn’t resolve. You won’t gain life. If the target is legal but not destroyed (most likely because it has indestructible), you will gain life.