"It's my favourite hat," Logan told CBS 6. "The First Amendment says I can wear my hat." He wore it for three days in a row, outside of class, where the primary school permits hats.
The school, where a student's First Amendment rights may be regulated, saw a disruption. In a statement released to CBS 6, the school district wrote: "We are proud that in this case, our school achieved that goal by allowing the student to wear his hat for several days. However, it is also our responsibility to take precautions when the discourse begins to impact our school climate and interrupt school operations."
Logan says he was bullied about the hat, and that his classmates said Trump was "stupid". After an older child made a particularly inflammatory comment on Friday, a teacher intervened and told Logan to take off the hat, citing safety concerns.
The fashion fracas comes at a time when political tensions are high among students in the Fresno area. Unlike Logan, many are not Donald Trump supporters. Hispanic students interviewed by the Fresno Bee expressed fear and uncertainty that Trump, if elected, might deport them or members of their families, despite their citizenship.
"When he said he was going to deport Mexicans, I was like, what's going to happen to my mum? And if it does happen, am I going to be deported too? Because I'm only half," Vanessa Barfield, 15, told the Fresno Bee. "My friends know my dad's white, and so they'll say he supports Trump . . . and I just don't like that at all."
In April, the Southern Poverty Law Centre, an advocacy organisation that monitors extremist hate groups, released a survey arguing that Trump's campaign is triggering "an alarming level of fear and anxiety among children of colour".
In a non-scientific survey of 2000 teachers, the Southern Poverty Law Centre said that more than two-thirds of educators responded that minority students were "terrified" about the election or, as one teacher wrote, that Trump is a "rich racist who hates them".
Trump's hats have become perhaps the most recognisable paraphernalia of the 2016 campaign, embodying the candidate to the point that several hats were burned during recent San Jose protests.
On Friday, Logan - who says he felt Trump's hair at the rally and believes in its authenticity - refused to doff his cap, despite demands from a principal. "The vice-principal came up to me and told me to take my hat off because it brings negative attention from other students. And I said no a few times and then the principal told me again and I still said no and refused," Logan told ABC 30.
Even if Logan wanted to wear his hat outside of school, however, the object reportedly no longer exists. Fox News reports that Logan's dog tore it to shreds.