Not sure yet where the water is coming from...but I DO know...
...That if you're keeping the "macerator" thru-hull open all the time while sailing, it's highly likely that you're filling up the tank with sea water that's being forced up the line by the pressure of the hull moving against the water. The macerator pump will slow it down, but it won't stop it from happening. That's why that thru-hull should always be closed except when actually dumping the tank.
I also know that if you're turning on that macerator to dump the tank, or flushing the toilet directly overboard out that same thru-hull anywhere except in the Gulf at least 3 miles outside Galveston Bay, you're doing so illegally. That can cost you big bucks in fines, and TX is really sticky about enforcement.
But what REALLY worries me a whole lot more than whether you're using the toilet illegally is that you THINK that seacock opens a thru-hull to dump the tank, but you don't KNOW..which seems to indicate that you don't know the first thing about your boat's plumbing. If you don't know what hoses are connected to which thru-hulls and what else they're connected to at the other ends, what would you do if you suddenly noticed that the boat shoes you left next to the settee are now floating in 3" of water above the cabin sole??? For your own safety, take the time to learn about the systems on your boat...'cuz when your shoes are floating or you smell smoke, it's too late to start!
But...let's see if we can get to the bottom of where the water is coming from... 5" is pretty close to a bowl full of water! The good news is, ithe toilet uses onboard pressurized water and the only thru-hull at the other end of the system is closed when you're not there..so it's not gonna sink your boat. And the fact the water is dirty doesn't mean much...even a cupful of clean water poured in from the sink won't be clean after several weeks. Except it should evaporate unless it's continuous slow seepage from the intake or the discharge line.
So a few more questions:
Do you pump out or dump (never mind the legality, I need the information!) the tank last thing before you go home?
Fresh water pump breaker left on, or turned off?
Does the water smell like sea water or fresh? Is it really yucky--which sea water would be...or just "not clean"...leaves stains the bowl? Stinky or odorless?