Well, I guess that your boolean variable shall be true above or below a certain specified value. You can use the > or < function on the double array. The result should be the boolean array you are looking for.
Well, I thought you are looking to process a threshold value fast, but as I have learned from the other postings you are looking for a method to convert a double value to a binary value (which is represented as a array of boolean). Sorry for my misunderstandig!
You`re doing basically the very same as in my example. Granted, it looks simpler, but the operations are basically the same.
Also, my version has already incorporated a method to reverse the operation. Look carefully at my example, and you`ll see that the DBL is re-created from the boolean array.