違法な

illegal

→ 違法だ
phrase Uncommon #13,345
illegal The な form is used before a noun, as in 違法なこと (something illegal). The standalone predicate form is 違法だ or 違法です.
JA: 違法な薬を売ってはいけません。
EN: You must not sell illegal drugs.

違法なことはしてません

I haven't done anything illegal.

ナチユダヤ人ボクらみたいに一緒に時間を過ごすのは違法なんだ

It’s illegal for Nazis and Jews to spend time together like we do.

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

クリスタ=マリア ジーラントここで違法な薬を手に入れている

Christa-Maria Sieland is obtaining illegal drugs here.

— 善き人のためのソナタ (2006)

違法なことをしたことはなかった

I had never done anything illegal!

— 道 (1954)

どうしてそれが違法な

Why is that illegal?

それは違法なんですか

Is that illegal?

違法なことは何もしてないってトム言ってる

Tom says he hasn't done anything illegal.