The man, who has not been publicly identified, was arrested in the backyard of a property on Smythe St in Merrylands, in Sydney's west, following an alleged stabbing spree at about 10am on Tuesday.