Energy is being expended maintaining it in position. Earth's gravity is applying a force downwards, the book is being accelerated down gravitation force.
A force is being applied to the hand and arm which must be resisted and thus energy expended.
The arm and book are not a closed system.