Detection of Boolean symmetries using complex Hadamard transformation