To be fair, I'm not sure that Islam is too enthusiastic about atheists proclaiming for it either... to put it mildly.
tl;dr It really doesn't pay to be seen as an "apostate" in Islam, at least in most places at this time.
In general when you're talking about a group of a billion people you should avoid generalisations, especially if you also need to say that you don't know what you're talking about.
As to the view on apostasy: https://islamqa.info/en/20327
(∀ god) (god == God)
which is trivially satisfied if there are no gods. Over-dry humor, I know.