When using WRITE(*,*) to display a LOGICAL value, Fortran displays .TRUE. and .FALSE. with T and F, respectively.
When preparing input for READ(*,*), use T and F for .TRUE. and .FALSE., respectively.