Then they are not a muslim. There are "cultural muslims" just as there are "cultural Jews" and "cultural Catholics", they only go along with the cultural aspects, without really believing in the religion, itself.
Ironically, someone is not a good Christian if they do the things that make one a good muslim.