logic1987