I thought the airport was awfully crowded, but when I got closer I realized that XX had arrived in Japan.
I was surprised at how crowded the airport was, but then I saw that they had come to greet XX!
上記一番目は直訳。2番目はもっと自然な英語。「近づいたら」とは、何に近づくかは不明です。空港にはもう入っているでしょう。「空港に近づいたら」という意味じゃないでしょう。それに、「来日する」は「come to Japan」になりますが、英語的にいらないと思います。ポイントは、その有名な人が「その空港に」着いたということでしょう。
I saw a big crowd of people at the airport, then I got close to them and realized it was XX visiting Japan.
この場合、次のような言い方ができますよ。
ーI saw a big crowd of people at the airport, then I got close to them and realized it was XX visiting Japan.
「空港で人だかりを見たので、近くに行ったら、XXが来日していることに気がつきました」=「XXが来日していました」
XXに有名人の名前を入れてください。
ご参考まで!