The correct sentence that uses the conditional tense is:
"If the library is open, I will borrow a book."
This sentence indicates a possible future situation where the action (borrowing a book) is dependent on the condition (the library being open).