You fight the End Boss when you get Max Lvl. It may pop up on ANY unvisited zone after that.
Once it does the zone will be marked with a star and the boss will still be there until defeated.
GLITCH
On level 4 if you jump over a energy barrel and let the red soldier shoot it you'll blast up the hole and if you run into a wall up there you'll walk straight through it!