It's not my definition, plus, the term of art that is evaluated is the "reasonable belief."
-- Tell me...unless you're God, how do you know it's an illegal entry? --
That question cuts both ways, for the invader, and for the home occupant. What has changed is the ability of the homeowner to attempt to convince a jury of peers (which, by definition, is an exercise in hindsight) that he had a reasonable belief (not a metaphysical certainty) that he was under an unlawful entry.
Read it again. The "reasonably belief" is whether force is necessary, not whether the entry is legal or illegal.