The sentence that correctly uses the conditional tense is:
If the library is open, I will borrow a book.
In this sentence, the future tense "will" is used correctly following the present tense condition. The other options misuse the conditional structure.