A friend of mine said that if in Queensland and you are approached by nautical cops and the question of toilets comes up, if you say that you have a non discharge system fitted, they will accept that and leave you alone.
It seems the rules are so complicated for smaller private vessels that they really do not want to get involved in your sh!t. (Pardon the pun.)
Commercial (tourist) vessels are required to have a holding tank system in Qld. which may be pumped out to sea when in open waters which is defined as being more than three miles from port limits, land, island or reef.
For private vessels, I believe as long as some kind of macerator is fitted in the discharge it is permissible to pump out directly without a holding tank even when closer inshore. Don't quote me on that.

Electric toilets fit that bill.
I had a Queensland Government surveyor on my charter yacht to whom I showed a direct pump out toilet, a Porta Potti and a couple of 15 litre plastic paint buckets with clip lids and he said that my system met the regulations.
As for what Ramona has quoted:-
"Legally if you are within 100 metres of a wharf and toilet facilities you have to use them. Further away and its open slather. If you are in NSW survey and you have a toilet it has to be plumbed to a holding tank. The idea is to empty at sea. If you are in survey and don't have a fitted toilet [bucket and chuck], then once your are greater than 100 yards from facilities its free.
The rules are different for national parks so check carefully there."Do be wary of national parks people, but:-
The 100 metre or yard rule makes a joke of the intent of the rules in the first place, which are a joke in them selves in comparison to other forms of pollution that we all commonly see.
Parliament House Canberra and a pollie trying to score points:- "There all these people living on boats and they are all crapping in the water. We have got to stop it or they will destroy the environment!!!!"
Realist:- "Give us a break sunshine. What do you think prawns are in the water for?? They eat whatever sh!t there is to be eaten on the seabed.
Pollie:- "Erp, erp, bleaaagghh."
Realist:- "What's the matter mate?? Did you have a feed of prawns for lunch??"