He checked out the books yesterday from the library.

(Is this correct? What is the opposite of 'checked out'? Can we use 'checked in' as the opposite?)

1 answer

Yes, "checked in" is the opposite -- or simply "returned."

The sentence you wrote is fine.