The sentence that correctly uses the conditional tense is:
If the library is open, I will borrow a book.
This sentence uses the present simple "is" in the if-clause and the future simple "will borrow" in the main clause, which is the correct structure for a first conditional sentence.