Answer
This is an official answer by QuranicNames.com Staff
Zachary is a variant of Zakariyya, which is a prophet's name mentioned in the Quran, and for this reason both are Islamic names. Zachary is how Christians spell this name, but Muslims can use this spelling and pronunciation as well.