Yosemite has its own library. You're not allowed to borrow books from it.
By Eric BrooksAug 31, 2023
The Yosemite Valley branch of the Mariposa County Library is hidden off a side road in the park and houses over 3,000 books.
The Yosemite Valley location is actually one of two Mariposa County branch locations in the park. The second is in Wawona, not far from the iconic Mariposa Grove of Giant Sequoias.
https://www.sfgate.com/california-parks/article/yosemite-valley-library-history-18334546.php?IPID=SFGate-HP-CP-Spotlight