The sentence that correctly uses the conditional tense is:
"If the library is open, I will borrow a book."
This construction indicates a real possibility in the present or future. The other options either use incorrect forms or mix tenses inappropriately.