A quick glance at https://en.wikipedia.org/wiki/Legality_of_Holocaust_denial suggests that you may have made up the public advocacy requirement:
> (3) Whosoever publicly or in a meeting approves of, denies or downplays an act committed under the rule of National Socialism of the kind indicated in section 6 (1) of the Code of International Criminal Law, in a manner capable of disturbing the public peace shall be liable to imprisonment not exceeding five years or a fine.[36][37]
Of course the distinction you are trying to draw smacks of sophistry to begin with. From what I can tell, you can be anti-islamic in your own four walls and even discuss your secular ideals with your friends in Pakistan, beacon of free speech, as well[1].
[1] As long as you don't defile the name of a prophet. That seems to carry a mandatory death sentence (plus fine, to really rub it in), even if it occurs within your own walls.