It's widely believed that Aerith did know about Zack's death. This is hinted at in Crisis Core, where she gazes up at the sky, and it helps explain why she grows so close to Cloud in Final Fantasy VII—Cloud carries Zack's memories and mannerisms. So the short answer is: yes, most likely she knew.