sparse_logical function

Create sparse logical vector