These come in brass, non-precious white metal, and silver. They are modern (post 1948) novelty items sold to tourists. Those made of non-precious metal sell retail for a few US dollars. Silver 'magic coins' are worth their weight in silver.
If you do a Google search on 'Egypt magic coin' you will see that other patterns are used and, sometimes, the coins are stressed and beaten to look like they might be genuine ancient coins. They are not.