Is it possible you've named a card "sleep" or defined a function in the deck-level script that likewise shadows the built-in sleep[] function?
Normally if you type "sleep" in the Listener and evaluate it with shift+enter you should see a response like
on native x do ... end
If it's being shadowed by a card you might instead see "<card>", for example.