Yes, Zack and Cloud were close friends.
The provided reference clearly states, "Zack, Cloud's closest friend, had a profound influence on him, and their friendship lives on even after tragedy." This highlights the deep bond and significant impact Zack had on Cloud's life. Their shared experiences and the vulnerability they showed to each other solidified their friendship. Zack's influence on Cloud is a central theme in the Final Fantasy VII narrative.