I am confused among words "formal", "colloquial" and "idiomatic".

First, I would like to start by this example which could be a language from speaking.

1. The sentence is not idiomatic.
2. The sentence is not colloquial.

What is the difference between these two, expersing a situation about "sentence" ?

Thank you.