A team day is a format: a day with your team outside the office. Team building is a goal: deliberately strengthening collaboration, communication or connection.
Every team building can be a team day, but not every team day is team building. The difference lies in the design, not in the activity.