create boolean feature vector