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