In Lil, the number 0, the empty string "", nil, the empty list (), or an empty dictionary is considered false and anything else is considered true. Most of the time, 1 and 0 are the clearest way to indicate true or false, respectively.
Your examples should probably be
on click do canvas1.draggable:1 end
and
on click do canvas1.draggable:0 end
Does that make sense?