に行くんだ

be going to [a place], go to do something

→ に
phrase Very common #1,143
be going to [a place] A plain, conversational way to explain or emphasize that someone is heading to a destination. んだ adds an explanatory or emphatic tone.
JA: これで他の星に行くんだ。
EN: This is how we're going to another planet.

監獄に行くんだ!

I'm going to prison!

— 動くな、死ね、甦れ! (1990)

月曜からオーストラリアに行くんだよ。

I'm going to Australia starting Monday.

明日トムの家に行くんだ。

I'm going to Tom's house tomorrow.

校長室に行くんだ

I'm going to the principal's office.

— 大人は判ってくれない (1959)

そしたら二人でパリに行くんだ

Then the two of us are going to Paris.

— ジョジョ・ラビット (2019)

私達と同じ方向に行くんだわ

They're headed in the same direction as we are.

— 魔女の宅急便 (1989)

夏にボストンに行くんだ。

I'm going to Boston this summer.

時間があると、いつもその博物館に行くんだ。

Whenever I have time, I always go to that museum.

何処に行くんだって?

You mean, where am I going?

— ロード・オブ・ザ・リング/王の帰還 (2003)

そして一緒に村に行くんだ

And then we’ll go to the village together.

— ウィッチ (2016)

今日は美術館に行くんだ。

I'm going to the art museum today.

トムは明日ボストンに行くんだよ。

Tom is going to Boston tomorrow.

畑の中を歩いてカネワールに行くんだ

I’m going to Kanewal by walking through the fields.

— バジュランギおじさんと、小さな迷子 (2015)

でもどうやって地球に行くんだ位置もわからないんだろう

But how are you going to get to Earth? You don't even know where it is, do you?

— 不思議惑星キン・ザ・ザ (1986)

プールに行くんだ。

I'm going to the pool.

今からミネソタに行くんだ

I'm heading to Minnesota now.

— フィールド・オブ・ドリームス (1989)

トム、来月出張でボストンに行くんだって。

I heard Tom is going to Boston on a business trip next month.

彼女、来月には東京に行くんだ。

She’s going to Tokyo next month.

ウォルトはどこに行くんだ?

Where is Walt going?

— ムーンライズ・キングダム (2012)

明日、オーストラリアに行くんだ。

I'm going to Australia tomorrow.

これで他の星に行くんだ

This will take us to other planets.

— クワイエット・プレイス (2018)

モスクワに行くんだ

I'm going to Moscow.

— ロシアン・ブラザー (1997)

来週の月曜日にボストンに行くんだ。

I'm going to Boston next Monday.

こっちに行くんだいつも私の場所にいるんだから

Come this way—you’re always in my spot, after all.

— ネバーエンディング・ストーリー (1984)

戦争に行くんだな

You're going to war, aren't you?

— 鶴は翔んでゆく (1957)

明日、上海に行くんだ。

I'm going to Shanghai tomorrow.

来週はボストンに行くんだよ。

I'm going to Boston next week.

俺は戦場に行くんだぞ!

I'm going to the battlefield!

— ジョジョ・ラビット (2019)

僕たち、図書館と本屋さんに行くんだ。

We're going to the library and the bookstore.

phrase Rare #33,063
go to do something Explains or emphasizes that someone is going somewhere for a particular purpose. The ending んだ adds an explanatory tone.
JA: 今晩リサと遊びに行くんだ。
EN: I’m going out to hang out with Lisa tonight.

明日は暇だから、友達と遊びに行くんだ。

I’m free tomorrow, so I’m going out with a friend.

今晩リサと遊びに行くんだ。

I'm going out with Lisa tonight.

今夜はマッリの救出に行くんだ

I'm going to rescue Malli tonight.

— RRR (2022)

これから社長はわしと一緒に飲みに行くんだ

From now on, the boss is going out drinking with me.

— サイコ (1960)

今日、トムのお兄ちゃんと映画観に行くんだ。

I'm going to see a movie with Tom's older brother today.